/**
 * 路由配置
 */
import { asyncView } from 'utils/asyncFile.ts'
export default [
    { path: '/', redirect: '/home' },
    {
        path: '/home',
        name: 'home',
        component: asyncView('home/index'),
        meta:{
            title:'首页'
        },
        children:[

        ]
    },
    {
        path: '/about',
        name: 'about',
        component: asyncView('about/index'),
        meta: {
            title: '详情'
        },
        children: [

        ]
    },
    {
        path: '/echarts',
        name: 'echarts',
        component: asyncView('echarts/index'),
        meta: {
            title: '图表'
        },
        children: [

        ]
    },
    //{
    //配置404页面
    //path: '/:catchAll(.*)',
    //name: '404',
    //component: () => import(''),
    //}
]